package com.lvmama.pojo.dto.dw;

import java.util.List;

public class StockDetailQuery {
    
    //品类名称列表
    private List<String> categoryName;
    
    //销售渠道列表
    private List<String> saleChannel;
    
    //供应商类型列表
    private List<String> supplierType;
    
    //大区名称
    private String regionname;
    
    //产品经理名称
    private String productmanager;
    
    //供应商名称列表
    private List<String> supplierName;
    
    //酒店名称列表
    private List<String> productName;
    
    //房型列表
    private List<String> branchName;
    
    //包含共享库存
    private Boolean hasShareStock = Boolean.FALSE;
    
    //是否按品类分组
    private Boolean groupByCategory = Boolean.FALSE;
    
    //是否按渠道分组
    private Boolean groupByChannel = Boolean.FALSE;
    
    //是否按酒店分组
    private Boolean groupByHotle = Boolean.FALSE;
    
    //是否按房型分组
    private Boolean groupByBranch = Boolean.FALSE;
    
    //是否按大区分组
    private Boolean groupByRegionname = Boolean.FALSE;
    
    /**
     * 起始页
     */
    private int currentPage = 1;
    /**
     * 每页数
     */
    private int pageSize = 10;
    /**
     * 排序条件("field1 desc, field2 asc")
     */
    private String orderBy;

    public List<String> getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(List<String> categoryName) {
        this.categoryName = categoryName;
    }

    public List<String> getSaleChannel() {
        return saleChannel;
    }

    public void setSaleChannel(List<String> saleChannel) {
        this.saleChannel = saleChannel;
    }

    public List<String> getSupplierType() {
        return supplierType;
    }

    public void setSupplierType(List<String> supplierType) {
        this.supplierType = supplierType;
    }

    public String getRegionname() {
        return regionname;
    }

    public void setRegionname(String regionname) {
        if(regionname == null || "".equals(regionname) || "0".equals(regionname)){
            this.regionname = null;
        }else {
            this.regionname = regionname;
        }
    }

    public String getProductmanager() {
        return productmanager;
    }

    public void setProductmanager(String productmanager) {

        if(productmanager == null || "".equals(productmanager) || "0".equals(productmanager)){
            this.productmanager = null;
        }else {
            this.productmanager = productmanager;
        }
    }

    public List<String> getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(List<String> supplierName) {
        this.supplierName = supplierName;
    }

    public List<String> getProductName() {
        return productName;
    }

    public void setProductName(List<String> productName) {
        this.productName = productName;
    }

    public List<String> getBranchName() {
        return branchName;
    }

    public void setBranchName(List<String> branchName) {
        this.branchName = branchName;
    }

    public Boolean getHasShareStock() {
        return hasShareStock;
    }

    public void setHasShareStock(Boolean hasShareStock) {
        this.hasShareStock = hasShareStock;
    }

    public Boolean getGroupByCategory() {
        return groupByCategory;
    }

    public void setGroupByCategory(Boolean groupByCategory) {
        this.groupByCategory = groupByCategory;
    }

    public Boolean getGroupByChannel() {
        return groupByChannel;
    }

    public void setGroupByChannel(Boolean groupByChannel) {
        this.groupByChannel = groupByChannel;
    }

    public Boolean getGroupByHotle() {
        return groupByHotle;
    }

    public void setGroupByHotle(Boolean groupByHotle) {
        this.groupByHotle = groupByHotle;
    }

    public Boolean getGroupByBranch() {
        return groupByBranch;
    }

    public void setGroupByBranch(Boolean groupByBranch) {
        this.groupByBranch = groupByBranch;
    }

    public Boolean getGroupByRegionname() {
        return groupByRegionname;
    }

    public void setGroupByRegionname(Boolean groupByRegionname) {
        this.groupByRegionname = groupByRegionname;
    }

    
    public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	@Override
    public String toString() {
        return "StockDetailQuery{" +
                "categoryName=" + categoryName +
                ", saleChannel=" + saleChannel +
                ", supplierName=" + supplierName +
                ", groupByCategory=" + groupByCategory +
                ", groupByChannel=" + groupByChannel +
                ", groupByRegionname=" + groupByRegionname +
                '}';
    }
}
